#ifndef DIFF2D_H
#define DIFF2D_H

#include "diff2d.h"

#include <vector>

using namespace std;

namespace diff2D{
    struct pt{
        int i;
        int j;
    };

    class diffList{
        public:
            int lNum=0,uNum=0,dNum=0;
            vector<pt> lList;
            vector<pt> uList;
            vector<pt> dList;
            vector<double> lCoef;
            vector<double> uCoef;
            vector<double> dCoef;

            void ptAppend(int i,int j,double coef);
            void add(diff2D::diffList);
            void minus(diff2D::diffList);
            void times(double am);
            void divided(double ad);
            void print();
    };
}

#endif